package com.zzxx.service;

import com.zzxx.domain.Permission;
import com.zzxx.domain.Role;

import java.util.List;

public interface RoleService {
    List<Role> queryAll(int pageNum, int pageSize);

    void insertRole(Role role);

    List<Permission> findOtherPermissionsById(String id);

    void addPermission(String[] ids, String roleId);
}
